package com.itnoob.command1.test2;

/**
 * @author zhoujun
 * @date 2025/3/18 23:05
 */
public class RemoteControl {

    private Command command;

    public RemoteControl(Command command) {
        this.command = command;
    }

    public void pressButton(){
        command.execute();
    }
}
